package com.xmut.mall.member.feign;


import com.xmut.mall.member.utils.RespBean;
import com.xmut.mall.member.vo.JwtAuthCheckVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("mall-auth-server")
public interface AuthFeignService {

    /**
     * 校验jwt权限
     * @param vo
     * @return
     */
    @PostMapping("/JwtAuthCheck")
    RespBean JwtAuthCheck(@RequestBody JwtAuthCheckVo vo);
}
